#pragma once
#include "Obj/XOBJ.h"
namespace LTGame
{
	class CTransmitter
		:public XOBJ
	{
	public:
		int transmitter_ID;
		int state_fire_timer;
		int state;
		XOBJ* owner;
		short* timer;
		static CTransmitter* curTransmitter;
	public:
		CTransmitter();
		~CTransmitter();
		static CTransmitter*getInstance();
		void paint();
		void logic();
		void create(int id, XOBJ* actor);
	private:
		void SetState(int nst); 
		void Transmitter_Create(int id,XOBJ* actor);
		void Transmitter_Logic();
	};
}